<div id="flash">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" 
        width="{$width|default:'300'}" height="{$height|default:'100'}">
        <param name="movie" value="{$swf|default:'./templates/swf/001.swf'}" />
        <param name="quality" value="high" />
        <param name="wmode" value="transparent" /> <!--这里代码可使Flash背景透明 --> 
        <embed src="{$swf|default:'./templates/swf/001.swf'}" 
        width="{$width|default:'300'}" height="{$height|default:'100'}" quality="high" 
        pluginspage="http://www.macromedia.com/go/getflashplayer" 
        type="application/x-shockwave-flash" wmode="transparent">
        </embed>
    </object>
</div> 